package com.yidu.tmall.product.hujiafu.action;



import com.yidu.tmall.common.domain.YiduSpecificationType;
import com.yidu.tmall.product.hujiafu.service.YiduSpecificationTypeService;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Api(description = "商城接口文档")

@RestController
public class YiduSpecificationTypeController {
    @Resource
    YiduSpecificationTypeService yiduSpecificationTypeService;
    @GetMapping("yiduSpecificationType/{id}")
    public YiduSpecificationType finById(@PathVariable("id") String id){
        return  yiduSpecificationTypeService.selectByPrimaryKey(id);
    }
}
